package com.woniuxy.main.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.woniuxy.main.pojo.Vi_order_coach;

public interface Vi_order_coachMapper {
	
	@Select("select * from vi_order_coach where sid = #{sid} limit #{index},8")
	public List<Vi_order_coach> searchMyCoachBySid(Map<String, Object> map);
	
	@Select("select count(*) from vi_order_coach where sid = #{sid}")
	public long countMyCoach(int sid);
	
}
